import { createRouter, createWebHashHistory } from 'vue-router'

import Login from '../login.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/home',
            name:'Home',
            meta:{lebal:'Home'},
            component: () => import('../home.vue'),
        },
        {
            path: '/',
            name:'Login',
            component: Login
        }
    ]
})

export default router